<?php
include $this->Render('header.php');
?>
    <link rel="stylesheet" type="text/css" href="<?php echo BASE_STYLE;?>/css/admin.css" />
    <script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/dyhl.linkpage.js"></script>
    <script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/common.js"></script>

    <script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/jquery.lazyload.min.js"></script>
    <style type="text/css">
        .sup-nav-box {width:100%; height:auto; overflow:hidden; margin-bottom:15px; position:fixed; top:0; left:0; background:#FFF; padding:10px;}
        .sup-nav-box li {float:left; height:27px; line-height:27px; margin-right:10px;}
        .btn-hui {display:inline-block; height:27px; background:#dbdbdb; border-radius:2px; padding:0 10px;}
        .line-bot {border:1px solid #a8a8a8;}
        .order-item-box {width:100%;height:auto;overflow:hidden;border-bottom:1px solid #a8a8a8;padding-bottom:15px;margin-bottom:15px;}
        .order-item-box input[type="text"],.order-item-box select {background:none;}

        .title-0 { font-weight:bold;width:108px;float:left;text-align:right;}
        .input-02 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#5A96CC !important; background:#f6f6f6 !important; width:57% !important;}
        .input-03 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle;width:57% !important;}
        .input-04 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#5A96CC !important; background:#f6f6f6 !important; width:45% !important;}
        .input-05 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle;width:45% !important;}
        .input-06 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#000 !important; background:#00fcff !important; width:57% !important;}
        .input-07 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#000 !important; background:#00fcff !important; width:45% !important;}
        .input-08 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#5A96CC !important; background:#f6f6f6 !important; width:78% !important;}
        .input-09 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle;  width:72% !important;}

    </style>
    <script type="text/javascript">
        $(document).ready(function(e) {
            $(".sup-nav-box").on('click','a',function(){

                $(this).addClass('btn-blue').removeClass('btn-hui');
                $(this).closest('li').siblings('li').find('a').addClass('btn-hui').removeClass('btn-blue')	;
            });

            $(".J-other").on('click',function(){
                var url = '<?php echo $this->order['info_url'];?>';
                window.open(url,'_blank','height=650, width=1030, location=no, status=no, toolbar=no, left=220, top=185');

                /**
                 var editHtml = '<iframe width="100%" height="100%" id="edit_item" name="edit_item" src="<?php echo $this->order['info_url'];?>" frameborder="0"></iframe>';
                 var win = new top.Ext.Window({
					title:'其他信息',
					closeable:true,
					closeAction:'hide',
					modal:true,
					width:900,
					height:650,
					resizable:false,
					plain:true,
					layout:'form',
					html:editHtml
				});

                 win.show(this);
                 **/
            });

            $('.J-daish-video').on('click','.J-video-obj',function(){
                var url = $(this).data('url');
                playVideo(url);
            });

        });

        //视频弹出窗口
        function playVideo(url){
            var html = '<div style="text-align:center;">';
            html +='<video width="400" height="300" controls autoplay>';
            html +='  <source src="'+url+'" type="video/mp4">';
            html +='  <object data="'+url+'" width="400" height="300"></object>';
            html +='</video></div>';

            var win = new Ext.Window({
                title:'视频',
                closeable:true,
                closeAction:'hide',
                modal:true,
                width:500,
                height:420,
                resizable:false,
                plain:true,
                layout:'fit',
                html:html
            });

            win.show(this);
        }
    </script>
    <div class="chaxun-box" style="height:92%; overflow-y:scroll;overflow-x:hidden; margin-top:50px; width:1185px;">
        <ul class="sup-nav-box">
            <li>
                <a href="#base" class="btn-blue">基本信息</a>
            </li>
            <li>
                <a href="#buyer" class="btn-hui">购车人信息</a>
            </li>
            <?php if(!empty($this->order['spouse'])){?>
                <li>
                    <a href="#spouse" class="btn-hui">配偶信息</a>
                </li>
                <?php
            }
            ?>
            <li>
                <a href="#guarantor" class="btn-hui">担保人信息</a>
            </li>
            <li>
                <a href="#car" class="btn-hui">车辆信息</a>
            </li>
            <li>
                <a href="#audit" class="btn-hui">审核信息</a>
            </li>
            <li>
                <a href="#attach" class="btn-hui">附件资料</a>
            </li>
            <?php
            if(Purview::checkScope($this->UserConfig['Id'],array('单位级','部门级'))|| Purview::checkRole($this->UserConfig['Id'],array(4))){?>
            <li>
                <a href="javascript:;" class="btn-hui J-other">其他信息</a>
            </li>
        <?php }?>
        </ul>
        <a name="base"></a>
        <div class="order-item-box" style="border:0;">
            <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
                <legend style="padding:5px 15px;"><h2>基本信息</h2></legend>
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td width="20%" height="35px">客 户 编 号：<input type="text" name="o_number" value="<?php echo $this->order['base']['o_number'];?>" readonly></td>
                        <td width="20%" height="35px">
                            业务来源人：<input type="text" name="o_uname" value="<?php echo $this->order['base']['o_branch'];?>---<?php echo $this->order['base']['o_uname'];?>" readonly>
                        </td>

                        <td width="20%" height="35px">签约经销商：<input type="text" name="o_buyer_type" value="<?php echo $this->order['base']['o_buyer_type'];?>" readonly></td>

                        <td width="20%" height="35px">
                            经　销　商：<input type="text" name="o_buyer" value="<?php echo $this->order['base']['o_buyer'];?>" readonly>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </div>
        <a name="buyer"></a>
        <div class="order-item-box" style="border:0;">
            <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
                <legend style="padding:5px 15px;"><h2>购车人信息</h2></legend>
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td width="25%" height="35px"><div class='title-0'>购车人姓名：</div>
                            <input type="text" value="<?php echo $this->order['base']['buyer']['ct_name'];?>" class="input-02" readonly></td>
                        <td width="25%" height="35px"><div class='title-0'>
                                性别：</div><input type="text" value="<?php echo $this->order['base']['buyer']['ct_sex'];?>" class="input-02" readonly>
                        </td>
                        <td width="25%"><div class='title-0'>年龄：</div>
                            <input type="text" value="<?php echo $this->order['base']['buyer']['list_age'];?>" class="input-02" readonly</td>
                        <td width="25%"><div class='title-0'>
                                婚否：</div><input type="text" value="<?php echo $this->order['owner']['ot_married'];?>" class="input-05" readonly >
                        </td>
                    </tr>
                    <tr>
                        <td width="25%"><div class="title-0">身份证号：</div>
                            <input type="text" value="<?php echo $this->order['base']['buyer']['ct_code'];?>" class="input-02" readonly></td>

                        <td width="25%" height="35px"><div class='title-0'>
                                身份证归属地：</div><input type="text" value="<?php echo $this->order['base']['buyer']['ct_affiliation'];?>" class="input-02" readonly>
                        </td>
                        <td width="25%" height="35px"><div class='title-0'>
                                身份证地址：</div><input type="text" value="<?php echo $this->order['base']['buyer']['ct_idaddress'];?>" class="input-02" readonly>
                        </td>
                        <td width="25%" height="35px"><div class="title-0">
                                身份证签发机关：</div><input type="text" value="<?php echo $this->order['base']['buyer']['ct_issue'];?>" class="input-04" readonly>
                        </td>

                    </tr>
                    <tr>
                    <td width="25%" height="35px"><div class="title-0">
                                身份证有效期始：</div><input type="text" value="<?php echo $this->order['base']['buyer']['ct_validity_start'];?>" class="input-02" readonly>
                        </td>
                    <td width="25%" height="35px"><div class="title-0">
                                身份证有效期止：</div><input type="text" value="<?php echo $this->order['base']['buyer']['ct_validity_end'];?>" class="input-02" readonly>
                        </td>
                    </tr>

                    <tr>
                        <td width="25%" height="35px"><div class="title-0">
                                学历：</div><input type="text" value="<?php echo $this->order['owner']['ot_edu'];?>" readonly class="input-02">
                        </td>
                        <td width="25%"><div class="title-0">
                                手机号：</div><input type="text" value="<?php echo $this->order['owner']['ot_mobile'];?>" readonly class="input-02">
                        </td>
                        <td width="25%" id="huoji-areas"><div class="title-0">
                                户籍：</div><input type="text" value="<?php echo $this->order['owner']['ot_residence_pro'];?><?php echo $this->order['owner']['ot_residence_city'];?><?php echo $this->order['owner']['ot_residence_area'];?>" class="input-02" readonly>
                        </td>
                        <td width="25%"><div class="title-0">
                                固定电话：</div><input type="text" value="<?php echo $this->order['owner']['ot_tel'];?>" class="input-05" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td width="25%"  height="35px"><div class="title-0">
                                邮寄地址：</div><input type="text" value="<?php echo $this->order['owner']['ot_liveadd'];?>" class="input-03" readonly>
                        </td>
                        <td width="25%"  height="35px"><div class="title-0">
                                实际家庭地址：</div><input type="text" value="<?php echo $this->order['owner']['ot_home_add'];?>" class="input-03" readonly>
                        </td>
                        <td  height="35px"><div class="title-0">
                                房产地址：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_add'];?>" readonly class="input-02">
                        </td>
                        <td width="25%" height="35px"><div class="title-0">
                                流水卡号：</div><input type="text" value="<?php echo $this->order['owner']['ot_bankcard'];?>" readonly class="input-05">
                        </td>
                    </tr>
                    <tr>
                        <td width="25%"><div class="title-0">
                                房产所有权人：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_owner'];?>" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                与购车人关系：</div><input type="text" value="<?php echo $this->order['owner']['ot_hown_relation'];?>" readonly class="input-03">
                        </td>
                        <td width="25%" height="35px"><div class="title-0">
                                房产性质：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_nature'];?>" readonly class="input-03">
                        </td>
                        <td width="25%"><div class="title-0">
                                房屋面积：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_acreage'];?>平方米" readonly class="input-05">
                        </td>
                    </tr>
                    <tr>
                        <td><div class="title-0">
                                目前市价：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_price'];?>万元" readonly class="input-03">
                        </td>
                        <td width="25%" height="35px"><div class="title-0">
                                房贷金额：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_loan'];?>万元" readonly class="input-03">
                        </td>
                        <td width="25%"><div class="title-0">
                                年限：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_loyear'];?>月" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                月还款：</div><input type="text" value="<?php echo $this->order['owner']['ot_house_refundmo'];?>元" readonly class="input-05">
                        </td>
                    </tr>

                    <tr>
                        <td colspan="2"><div class="title-0">
                                公司名：</div><input type="text" value="<?php echo $this->order['owner']['ot_company'];?>" readonly class="input-08">
                        </td>
                        <td colspan="2"><div class="title-0">
                                单位地址：</div><input type="text" value="<?php echo $this->order['owner']['ot_company_add'];?>" readonly class="input-09">
                        </td>

                    </tr>
                    <tr height="40px">
                        <td><div class="title-0">
                                单位电话：</div><input type="text" value="<?php echo $this->order['owner']['ot_company_tel'];?>" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                单位类型：</div><input type="text" value="<?php echo $this->order['owner']['ot_company_type'];?>" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                职务类型：</div><input type="text" value="<?php echo $this->order['owner']['ot_duty_type'];?>" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                职务：</div><input type="text" value="<?php echo $this->order['owner']['ot_duty'];?>" readonly class="input-05">
                        </td>
                    </tr>
                    <tr>

                        <td><div class="title-0">
                                经营期限：</div><input type="text" value="<?php echo $this->order['owner']['ot_operat_period'];?>" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                工龄：</div><input type="text" value="<?php echo $this->order['owner']['ot_seniority'];?>" readonly class="input-03">
                        </td>
                        <td width="25%"  height="35px"><div class="title-0">
                                所占股份：</div><input type="text" value="<?php echo $this->order['owner']['ot_stake'];?>%" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                月收入：</div><input type="text" value="<?php echo $this->order['owner']['ot_income_month'];?>元" readonly class="input-05">
                        </td>
                    </tr>

                    <tr>
                        <td height="35px"><div class="title-0">
                                紧急联系人一：</div><input type="text" value="<?php echo $this->order['owner']['ot_contact'][0]['name'];?>" readonly class="input-03">
                        </td>
                        <td width="25%"><div class="title-0">
                                手机号：</div><input type="text" value="<?php echo $this->order['owner']['ot_contact'][0]['mobile'];?>" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                关系：</div><input type="text" value="<?php echo $this->order['owner']['ot_contact'][0]['relation'];?>" readonly class="input-03">
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td height="35px"><div class="title-0">
                                紧急联系人二：</div><input type="text" value="<?php echo $this->order['owner']['ot_contact'][1]['name'];?>" readonly class="input-03">
                        </td>
                        <td width="25%"><div class="title-0">
                                手机号：</div><input type="text" value="<?php echo $this->order['owner']['ot_contact'][1]['mobile'];?>" readonly class="input-03">
                        </td>
                        <td><div class="title-0">
                                关系：</div><input type="text" value="<?php echo $this->order['owner']['ot_contact'][1]['relation'];?>" readonly class="input-03">
                        </td><td></td>
                    </tr>
                    <tr>
                        <td colspan="4" valign="top" height="55px">
                            备注：
                            <?php echo $this->order['owner']['ot_remark'];?>
                        </td>
                    </tr>
                    <?php
                    if(!empty($this->order['buyer']['ct_remark'])) {
                        ?>
                        <tr>
                            <td colspan="4" height="35px">
                               <div class="title-0">征信结果：</div><?php echo $this->order['buyer']['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['buyer']['ct_querytime']);?>
                            </td>
                        </tr>
                        <?php
                    }
                    ?>
                    <?php
                        if(!empty($this->order['buyer']['ct_bigdata'])) {
                            ?>
                            <tr>
                                <td colspan="4" height="35px"><div class="title-0">大数据结果：</div><?php echo $this->order['buyer']['ct_bigdata'];?>，数据提供方：<?php echo $this->order['buyer']['ct_bigdata_org'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php $arr = explode('_',$this->order['buyer']['ct_bigdata_number']); echo date('Y-m-d H:i:s',strtotime($arr[1])); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo"http://api.qiche100.com/big_data/validate/report?swift_number=".$this->order['buyer']['ct_bigdata_number'];?>" target="_blank">查看详情</a>
                                </td>
                            </tr>
                            <?php }
                            if(!empty($this->order['buyer']['ct_fico_result'])){
                            ?>
                            <tr>
                                <td colspan="4"><div class='title-0'>&nbsp;</div><?php $fico_result = unserialize($this->order['buyer']['ct_fico_result']);if($fico_result['fico_early_warning']['ret_code'] == 999) {echo '无命中,数据提供方:FICO'.'     '.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}elseif($fico_result['fico_early_warning']['ret_code'] == 000){echo $fico_result['fico_early_warning']['risk_level'].'级,'.$fico_result['reason_detail'].',&nbsp;数据提供方:FICO &nbsp;&nbsp;&nbsp;'.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}?>
                                </td>
                            </tr>
                        <?php }?>
                    <?php
                    if(!empty($this->order['buyer']['ct_attach_url'])){
                        ?>
                        <tr>
                            <td colspan="4" style="margin-top:15px;" id="buyer-ct-att">
                                <div class="file-upload-box J-file-upload-box fn-left mr10">
                                <img class="example-image" src="<?php echo $this->order['buyer']['ct_attach_thurl']['fcard'];?>" width="84" height="84" data-original="<?php echo $this->order['buyer']['ct_attach_url']['fcard'];?>"/>

                                </div>
                                <div class="file-upload-box J-file-upload-box fn-left mr10">
                                    <img class="example-image" src="<?php echo $this->order['buyer']['ct_attach_thurl']['rcard'];?>" width="84" height="84" data-original="<?php echo $this->order['buyer']['ct_attach_url']['rcard'];?>" />

                                </div>
                                <div class="file-upload-box J-file-upload-box fn-left mr10">
                                    <img class="example-image" src="<?php echo $this->order['buyer']['ct_attach_thurl']['auth'];?>" width="84" height="84" data-original="<?php echo $this->order['buyer']['ct_attach_url']['auth'];?>"/>

                                </div>
                                <div class="file-upload-box J-file-upload-box fn-left mr10">
                                    <img class="example-image" src="<?php echo $this->order['buyer']['ct_attach_thurl']['sign'];?>" width="84" height="84" data-original="<?php echo $this->order['buyer']['ct_attach_url']['sign'];?>"/>

                                </div>
                            </td>
                        </tr>
                        <?php
                    }
                    ?>
                </table>
            </fieldset>
        </div>
        <?php if(!empty($this->order['spouse'])){?>
            <a name="spouse"></a>
            <div class="order-item-box" style="border:0;">
                <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
                    <legend style="padding:5px 15px;"><h2>配偶信息</h2></legend>
                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td width="25%" height="35px"><div class="title-0">
                                    配偶姓名：</div><input type="text" value="<?php echo $this->order['spouse']['ct_name'];?>" readonly class="input-02">
                            </td>
                            <td width="25%"><div class="title-0">
                                    身份证号：</div><input type="text" value="<?php echo $this->order['spouse']['ct_code'];?>" readonly class="input-02">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    身份证归属地：</div><input type="text" value="<?php echo $this->order['spouse']['ct_affiliation'];?>" readonly class="input-02">
                            </td>
                               <td width="25%" height="35px"><div class="title-0">
                                    身份证签发机关：</div><input type="text" value="<?php echo $this->order['spouse']['ct_issue'];?>" readonly class="input-04">
                            </td>
                        </tr>

                        <input type="hidden" value="<?php echo $this->order['spouse']['ct_id'];?>" name="ct_spouse_detail[ct_spouse_id]" />

                        <tr>
                        <td width="25%"><div class="title-0">
                                    身份证有效期始：</div><input type="text" value="<?php echo $this->order['spouse']['ct_validity_start'];?>" readonly class="input-02">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    身份证有效期止：</div><input type="text" value="<?php echo $this->order['spouse']['ct_validity_end'];?>" readonly class="input-02">
                            </td>

                            <td width="25%" id="spouse-areas"><div class="title-0">
                                    户籍：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_province'];?><?php echo $this->order['spouse']['ct_detail']['ct_spouse_city'];?><?php echo $this->order['spouse']['ct_detail']['ct_spouse_area'];?>" readonly class="input-02">
                            </td>
                            <td width="25%"><div class="title-0">
                                    性别：</div><input type="text" value="<?php echo $this->order['spouse']['ct_sex'];?>" readonly class="input-05">
                            </td>
                           
                        </tr>

                        <tr>

                            <td colspan="2"><div class="title-0">
                                    邮寄地址：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_liveadd'];?>" readonly class="input-08">
                            </td>
                            <td height="35px"><div class="title-0">
                                   年龄：</div><input type="text" value="<?php echo $this->order['spouse']['list_age'];?>" readonly class="input-03"> 
                        </tr>
                        <tr>
                            <td width="25%" height="35px">
                                <div class="title-0">
                                    手机号：</div> <input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_mobile'];?>" readonly class="input-03">
                            </td>
                               <td width="25%" height="35px"><div class="title-0">
                                    学历：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_degree'];?>" readonly class="input-03">
                            </td>
                            <td height="35px"><div class="title-0">
                                   固定电话：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_tel'];?>" readonly class="input-03"> 
                            </td>
                            <td><div class="title-0">
                                    单位电话：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_ctel'];?>" readonly class="input-05">

                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" height="35px"><div class="title-0">
                                    公司名：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_company'];?>" readonly class="input-08">
                            </td>
                            <td height="35px"><div class="title-0">
                                    单位地址：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_cadd'];?>" readonly class="input-03">
                            </td>

                            <td width="25%"><div class="title-0">
                                    单位类型：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_ctype'];?>" readonly class="input-05">
                            </td>
                        </tr>
                        <tr>
                            <td><div class="title-0">
                                    职务类型：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_dutytp'];?>" readonly class="input-03">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    职务：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_duty'];?>" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    经营期限：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_operatpd'];?>" readonly class="input-03">
                            </td>
                            <td><div class="title-0">
                                    月收入：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_mincome'];?>元" readonly class="input-05">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" valign="top" height="55px">
                                备注：<?php echo trim($this->order['spouse']['ct_spouse_remark']);?>
                            </td>
                        </tr>
                        <?php
                        if(!empty($this->order['spouse']['ct_remark'])) {
                            ?>
                            <tr>
                                <td colspan="4" height="35px"><div class="title-0">
                                    征信结果：</div><?php echo $this->order['spouse']['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['spouse']['ct_querytime']);?>
                                </td>
                            </tr>
                            <?php
                        }
                        ?>
                        <?php
                        if(!empty($this->order['spouse']['ct_bigdata'])) {
                            ?>
                            <tr>
                                <td colspan="4" height="35px"><div class="title-0">大数据结果：</div><?php echo $this->order['spouse']['ct_bigdata'];?>，数据提供方：<?php echo $this->order['spouse']['ct_bigdata_org'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php $arr2 = explode('_',$this->order['spouse']['ct_bigdata_number']); echo date('Y-m-d H:i:s',strtotime($arr2[1])); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo"http://api.qiche100.com/big_data/validate/report?swift_number=".$this->order['spouse']['ct_bigdata_number'];?>" target="_blank">查看详情</a>
                                </td>
                            </tr>
                            <?php } 
                            if(!empty($this->order['spouse']['ct_fico_result'])){
                            ?>
                            <tr>
                                <td colspan="4"><div class='title-0'>&nbsp;</div><?php $fico_result = unserialize($this->order['spouse']['ct_fico_result']);if($fico_result['fico_early_warning']['ret_code'] == 999) {echo '无命中,数据提供方:FICO'.'     '.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}elseif($fico_result['fico_early_warning']['ret_code'] == 000){echo $fico_result['fico_early_warning']['risk_level'].'级,'.$fico_result['reason_detail'].',&nbsp;数据提供方:FICO &nbsp;&nbsp;&nbsp;'.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}?>
                                </td>
                            </tr>
                        <?php }?>
                        <?php
                        if(!empty($this->order['spouse']['ct_attach_url'])){
                            ?>
                            <tr>
                                <td colspan="4" id="spouse-ct-atta" style="margin-top:15px;">
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                        <img class="example-image" src="<?php echo $this->order['spouse']['ct_attach_thurl']['fcard'];?>" width="84" height="84"
                                         data-original="<?php echo $this->order['spouse']['ct_attach_url']['fcard'];?>"/>

                                    </div>
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                        <img class="example-image" src="<?php echo $this->order['spouse']['ct_attach_thurl']['rcard'];?>" width="84" height="84" data-original="<?php echo $this->order['spouse']['ct_attach_url']['rcard'];?>" />

                                    </div>
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                        <img class="example-image" src="<?php echo $this->order['spouse']['ct_attach_thurl']['auth'];?>" width="84" height="84" data-original="<?php echo $this->order['spouse']['ct_attach_url']['auth'];?>"/>

                                    </div>
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                        <img class="example-image" src="<?php echo $this->order['spouse']['ct_attach_thurl']['sign'];?>" width="84" height="84" data-original="<?php echo $this->order['spouse']['ct_attach_url']['sign'];?>"/>

                                    </div>
                                </td>
                            </tr>
                            <?php
                        }
                        ?>
                    </table>
                </fieldset>
            </div>
            <?php
        }
        ?>
        <a name="guarantor"></a>
        <?php
        $a = 0;
        if(!empty($this->order['guarantor'])) foreach($this->order['guarantor'] as $key => $val){
            ?>
            <div class="order-item-box" style="border:0;">
                <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
                    <legend style="padding:5px 15px;"><h2 <?php if($val['ct_status'] == 'del') echo 'style="text-decoration:line-through;text-decoration-color:red;text-decoration-style:double"';?>>担保人信息</h2></legend>
                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td width="25%" height="35px"><div class="title-0">担保人姓名：</div><input type="text" value="<?php echo $val['ct_name'];?>" readonly class="input-02">
                            </td>
                            <td width="25%"><div class="title-0">
                                    性别：</div><input type="text" value="<?php echo $val['ct_sex'];?>"
                                                    readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    手机号：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_mobile'];?>" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    担保人类型：</div><input type="text" value="<?php echo $val['ct_guarantor_type'];?>" readonly class="input-04">
                            </td>

                        </tr>
                        <input type="hidden" name="ct_guarantor_detail[<?php echo $key;?>][ct_guarantor_id]" value="<?php echo $val['ct_id'];?>" />
                        <tr>
                            <td width="25%"><div class="title-0">
                                    身份证号：</div><input type="text" value="<?php echo $val['ct_code'];?>"
                                                      readonly class="input-02">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    身份证归属地：</div><input type="text" value="<?php echo $val['ct_affiliation'];?>"
                                                        readonly class="input-02">
                            </td>
                            <td width="25%" class="J-ct-guarantor-<?php echo $key;?>"><div class="title-0">
                                    户籍：</div>
                                <input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_province'];?><?php echo $val['ct_detail']['ct_guarantor_city'];?><?php echo $val['ct_detail']['ct_guarantor_area'];?>"  readonly class="input-02">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    学历：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_degree'];?>" readonly class="input-05">
                            </td>
                        </tr>
                        <tr>
                        <td width="25%"><div class="title-0">
                                    身份证签发机关：</div><input type="text" value="<?php echo $val['ct_issue'];?>"
                                                      readonly class="input-02">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    身份证有效期始：</div><input type="text" value="<?php echo $val['ct_validity_start'];?>"
                                                        readonly class="input-02">
                            </td>
                            <td width="25%" class="J-ct-guarantor-<?php echo $key;?>"><div class="title-0">
                                    身份证有效期止：</div>
                                <input type="text" value="<?php echo $val['ct_validity_end'];?>"  readonly class="input-02">
                            </td>
                            <td width="25%"><div class="title-0">
                                    婚否：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_married'];?>" readonly class="input-05">
                            </td>
                        </tr>

                        <tr>
                            <td width="25%" height="35px" colspan="2"><div class="title-0">
                                    邮寄地址：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_liveadd'];?>" readonly class="input-09">
                            </td>
                            <td width="25%" height="35px" colspan="2"><div class="title-0">
                                    实际家庭地址：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hadd'];?>" readonly class="input-09">
                            </td>
                        </tr>
                        <tr>
                            <td width="25%" colspan="2"><div class="title-0">
                                    房产地址：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_headd'];?>" readonly class="input-09">
                            </td>
                            <td width="25%"><div class="title-0">
                                    固定电话：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_tel'];?>" readonly class="input-03">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    年龄：</div><input type="text" value="<?php echo $val['list_age'];?>" readonly class="input-04">
                            </td>
                        </tr>

                        <tr>
                            <td width="25%" height="35px"><div class="title-0">
                                    房产所有权人：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_howner'];?>" readonly class="input-02">
                            </td>
                            <td width="25%"><div class="title-0">
                                    与购车人关系：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hrelation'];?>" readonly class="input-02">
                            </td>

                            <td width="25%" height="35px"><div class="title-0">
                                    房产性质：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hnature'];?>" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    房屋面积：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hacreage'];?>平方米" readonly class="input-05">
                            </td>
                        </tr>

                        <tr>
                            <td width="25%" height="35px"><div class="title-0">
                                    目前市价：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hprice'];?>" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    房贷金额：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hloan'];?>" readonly class="input-03">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    年限：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hloan'];?>" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    月还款：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_hrefundmo'];?>" readonly class="input-05">
                            </td>
                        </tr>


                        <tr>
                            <td colspan="2" height="35px"><div class="title-0">
                                    公司名：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_company'];?>" readonly class="input-08">
                            </td>
                            <td colspan="2"><div class="title-0">
                                    单位地址：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_cadd'];?>" readonly class="input-09">
                            </td>

                        </tr>
                        <tr>
                            <td width="25%" height="35px"><div class="title-0">
                                    单位电话：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_ctel'];?>" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    单位类型：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_ctype'];?>" readonly class="input-03">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    职务：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_duty'];?>" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    职务类型：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_dutytp'];?>" readonly class="input-05">
                            </td>
                        </tr>
                        <tr>
                            <td width="25%"><div class="title-0">
                                    经营期限：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_operatpd'];?>" readonly class="input-03">
                            </td>
                            <td><div class="title-0">
                                    工龄：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_seniority'];?>" readonly class="input-03">
                            </td>
                            <td width="25%" height="35px"><div class="title-0">
                                    所占股份：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_stake'];?>%" readonly class="input-03">
                            </td>
                            <td width="25%"><div class="title-0">
                                    月收入：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_mincome'];?>元" readonly class="input-05">
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td colspan="4" valign="top" height="55px">
                                备注：<?php echo $val['ct_detail']['ct_guarantor_remark'];?>
                            </td>
                        </tr>

                        <?php
                        if(!empty($val['ct_remark'])) {
                            ?>
                            <tr>
                                <td colspan="4" height="35px"><div class="title-0">
                                    征信结果：</div><?php echo $val['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$val['ct_querytime']);?>
                                </td>
                            </tr>
                            <?php
                        }
                        ?>
                        <?php
                        if(!empty($val['ct_bigdata'])) {
                            ?>
                            <tr>
                                <td colspan="4" height="35px"><div class="title-0">大数据结果：</div><?php echo $val['ct_bigdata'];?>，数据提供方：<?php echo $val['ct_bigdata_org'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php $arr3 = explode('_',$val['ct_bigdata_number']); echo date('Y-m-d H:i:s',strtotime($arr3[1])); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo "http://api.qiche100.com/big_data/validate/report?swift_number=".$val['ct_bigdata_number'];?>" target="_blank">查看详情</a>
                                </td>
                            </tr>
                            <?php } 
                            if(!empty($val['ct_fico_result'])){
                            ?>
                            <tr>
                                <td colspan="4"><div class='title-0'>&nbsp;</div><?php $fico_result = unserialize($val['ct_fico_result']);if($fico_result['fico_early_warning']['ret_code'] == 999) {echo '无命中,数据提供方:FICO'.'     '.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}elseif($fico_result['fico_early_warning']['ret_code'] == 000){echo $fico_result['fico_early_warning']['risk_level'].'级,'.$fico_result['reason_detail'].',&nbsp;数据提供方:FICO &nbsp;&nbsp;&nbsp;'.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}?>
                                </td>
                            </tr>
                            <?php }?>
                        <?php
                        if(!empty($val['ct_attach_url'])){
                            ?>
                            <tr>
                                <td colspan="4" style="margin-top:15px;" id="ct-attach-url<?php echo $a;?>" name="guarantor-attach">
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                         <img class="example-image" src="<?php echo $val['ct_attach_thurl']['fcard'];?>" width="84" height="84" data-original="<?php echo $val['ct_attach_url']['fcard'];?>"/>

                                    </div>
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                        <img class="example-image" src="<?php echo $val['ct_attach_thurl']['rcard'];?>" width="84" height="84" data-original="<?php echo $val['ct_attach_url']['rcard'];?>"/>

                                    </div>
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                        <img class="example-image" src="<?php echo $val['ct_attach_thurl']['auth'];?>" width="84" height="84" data-original="<?php echo $val['ct_attach_url']['auth'];?>"/>

                                    </div>
                                    <div class="file-upload-box J-file-upload-box fn-left mr10">
                                        <img class="example-image" src="<?php echo $val['ct_attach_thurl']['sign'];?>" width="84" height="84" data-original="<?php echo $val['ct_attach_url']['sign'];?>"/>

                                    </div>
                                </td>
                            </tr>
                            <?php
                        }
                        ?>


                    </table>
                </fieldset>
            </div>
            <?php
            $a++;
        }
        ?>
        <a name="car"></a>
        <div class="order-item-box" style="margin-top:30px; border:0;">
            <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
                <legend style="padding:5px 15px;"><h2>车辆信息</h2></legend>
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td colspan="3"><div class="title-0">
                                车型：</div><input type="text" value="<?php echo $this->order['car']['ot_car_type'].' '.$this->order['car']['ot_car_model'].' '.$this->order['car']['ot_car_fullmodel'];?>" readonly class="input-03">&nbsp;<?php echo $this->order['car']['ot_car_seating'].'座';?>
                        </td>
                        <td width="25%" height="35"><div class="title-0">
                                车型构成：</div><input type="text" value="<?php echo $this->order['car']['ot_car_pose'];?>" readonly class="input-05">
                        </td>
                    </tr>
                <?php if($this->order['car']['ot_car_pose'] == '二手车'){ ?>
                    <tr>
                        <td height="30px"><div class='title-0'>初次上牌日期：</div><input type ="text" value="<?php echo $this->order['car']['ot_initialrg_time'];?>" class="input-03" readonly/></td>
                        <td><div class='title-0'>评估价：</div><input type ="text" value="<?php echo $this->order['car']['ot_assessment'];?>" class="input-06" readonly/></td>
                        <td><div class='title-0'>评估日期：</div><input type ="text" value="<?php echo $this->order['car']['ot_assess_time'];?>" class="input-03" readonly/></td>
                        <td><div class='title-0'>出报告金额：</div><input type ="text" value="<?php if($this->order['base']['o_bank'] == '中国工商银行股份有限公司哈尔滨东直支行' && isset($this->order['car']['ot_calculated']['d_transaction_amount'])){ echo $this->order['car']['ot_calculated']['d_transaction_amount'];}else{ echo $this->order['car']['ot_assessment'];}?>" class="input-07" readonly/></td>
                    </tr>
                <?php }?>
                <tr>
                    <tr>
                        <td width="25%" class="J-car-reg"><div class="title-0">
                                上牌地：</div> <input type="text" value="<?php echo $this->order['car']['ot_reg_province'];?><?php echo $this->order['car']['ot_reg_city'];?><?php echo $this->order['car']['ot_reg_area'];?>" readonly class="input-03">
                        </td>

                        <td width="25%"><div class="title-0">
                                是否公牌：</div><input type="text" value="<?php echo $this->order['car']['ot_pubbrand'];?>" readonly class="input-03">
                        </td>
                        <td width="25%" height="35"><div class="title-0">
                                行驶证车主：</div><input type="text" value="<?php echo $this->order['car']['ot_car_owners'];?>" readonly class="input-03">
                        </td>
                        <td width="25%" class="J-pro-code"><div class="title-0">
                                产品编号：
                            </div><input type="text" value="<?php echo $this->order['car']['ot_bankrt_code'];?>" readonly class="input-05">
                            <input type="hidden" class="J-ot-bankrt-id" name="ot_bankrt_id" value="<?php echo $this->order['car']['ot_bankrt_id'];?>" />
                            <input type="hidden" class="J-ot-bankrt-code" name="ot_bankrt_code" value="<?php echo $this->order['car']['ot_bankrt_code'];?>" />
                        </td>
                    </tr>

                    <tr>
                        <td width="25%"><div class="title-0">
                                贷款银行：</div><input type="text" value="<?php echo $this->order['base']['o_bank'];?>" readonly class="input-03">
                        </td>

                        <td width="25%"  height="35"><div class="title-0">
                                贷款年限：</div><input type="text" value="<?php echo $this->order['car']['ot_loan_year'];?>" readonly class="input-06">
                        </td>
                        <td width="25%"><div class="title-0">
                                产品类型：</div><input type="text" value="<?php echo $this->order['car']['ot_loan_type'];?>" readonly class="input-03">
                        </td>

                        <td width="25%"><div class="title-0">
                                银行利率：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['bank_rate'] * 100;?>%" readonly class="input-05">
                        </td>
                    </tr>
                    <tr>
                        <td width="25%" height="35"><div class="title-0">
                                车价：</div><input type="text" value="<?php echo $this->order['car']['ot_car_price'];?>&nbsp;元" readonly class="input-06">
                        </td>
                        <td width="25%"><div class="title-0">
                                贷款额：</div><input type="text" value="<?php echo $this->order['car']['ot_loan_limit'];?>&nbsp;元" readonly class="input-06">
                        </td>
                        <td width="25%"><div class="title-0">
                                公司费率：</div><input type="text" value="<?php echo $this->order['car']['ot_loan_rate'];?>%" readonly class="input-06">
                            <input type="hidden" class="J-o-bank-id" value="<?php echo $this->order['base']['o_bank_id'];?>" name="o_bank_id" />
                        </td>
                        <td width="25%"><div class="title-0">
                                <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' ||$this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?>
                                服务费率：</div><input type="text" value="<?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' ||$this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?><?php echo $this->order['car']['ot_service_rate'];?>%<?php }else if($this->order['base']['o_bank']=='中国农业银行股份有限公司萧山分行'){?><?php echo $this->order['car']['ot_car_oprice'];?>元<?php } ?>" readonly class="input-05">
                                
                            <?php }else if($this->order['base']['o_bank']=='中国农业银行股份有限公司萧山分行'){?>
                            其他费用：</div><input type="text" value="<?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' ||$this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?><?php echo $this->order['car']['ot_service_rate'];?>%<?php }else if($this->order['base']['o_bank']=='中国农业银行股份有限公司萧山分行'){?><?php echo $this->order['car']['ot_car_oprice'];?>元<?php } ?>" readonly class="input-05">
    <?php } ?>


        </td>
        </tr>

        <tr>
            <td width="25%" height="35" class="J-d-payment"><div class="title-0">
                    实际首付款：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_payment'];?>元" readonly class="input-06">
                <input type="hidden" class="J-d-payment-value" name="ot_calculated[d_payment]" value="<?php echo $this->order['car']['ot_calculated']['d_payment'];?>" />
            </td>

            <td width="25%" height="35" class="J-d-payment-per"><div class="title-0">
                    实际首付比例：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_payment_per'];?>％" readonly class="input-03">
                <input type="hidden" class="J-d-payment-per-value" name="ot_calculated[d_payment_per]" value="<?php echo $this->order['car']['ot_calculated']['d_payment_per'];?>"/>
            </td>
            <td width="25%" height="35" class="J-d-loan-per"><div class="title-0">
                    实际贷款比例：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_loan_per'];?>％" readonly class="input-03">
                <input type="hidden" class="J-d-loan-per-value" name="ot_calculated[d_loan_per]" value="<?php echo $this->order['car']['ot_calculated']['d_loan_per'];?>" />
            </td>
            <td width="25%" height="35" class="J-d-service-per"><div class="title-0">
                    <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' ||$this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?>
                    金融服务费比例：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_service_per'];?>％" readonly class="input-05">
                <input type="hidden" class="J-d-service-per-value" name="ot_calculated[d_service_per]" value="<?php echo $this->order['car']['ot_calculated']['d_service_per'];?>" />
                <?php }?>
            </td>
        </tr>

        <tr>
            <td width="25%" height="35" class="J-d-aging-money"><div class="title-0">
                    分期付款总额：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_aging_money'];?>元" readonly class="input-03">
                <input type="hidden" class="J-d-aging-money-value" name="ot_calculated[d_aging_money]" value="<?php echo $this->order['car']['ot_calculated']['d_aging_money'];?>" />
            </td>
            <td width="25%" height="35" class="J-d-aging-per"><div class="title-0">
                    分期付款比例：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_aging_per'];?>％" readonly class="input-03">
                <input type="hidden" class="J-d-aging-per-value" name="ot_calculated[d_aging_per]" value="<?php echo $this->order['car']['ot_calculated']['d_aging_per'];?>" />
            </td>
            <td width="25%" height="35" class="J-d-aging-poundage"><div class="title-0">
                    分期手续费：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_aging_poundage'];?>元" readonly class="input-03">
                <input type="hidden" class="J-d-aging-poundage-value" name="ot_calculated[d_aging_poundage]" value="<?php echo $this->order['car']['ot_calculated']['d_aging_poundage'];?>" />
            </td>
            <td width="25%" height="35" class="J-d-service-money"><div class="title-0">
                    <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' ||$this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?>
                    金融服务费：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_service_money'];?>元" readonly class="input-05">
                <input type="hidden" class="J-d-service-money-value" name="ot_calculated[d_service_money]" value="<?php echo $this->order['car']['ot_calculated']['d_service_money'];?>" />
                <?php }?>
            </td>
        </tr>

        <tr>
            <td width="25%" height="35" class="J-d-signag-money"><div class="title-0">
                    申请分期付款总额：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_signag_money'];?>元" readonly class="input-03">
                <input name="ot_calculated[d_signag_money]" class="J-d-signag-money-value" type="hidden" value="<?php echo $this->order['car']['ot_calculated']['d_signag_money'];?>" />
            </td>

            <td width="25%" height="35" class="J-d-aging-moneyper"><div class="title-0">
                    申请分期付款比例：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_aging_moneyper'];?>％" readonly class="input-03">
                <input type="hidden" class="J-d-aging-moneyper-value" name="ot_calculated[d_aging_moneyper]" value="<?php echo $this->order['car']['ot_calculated']['d_aging_moneyper'];?>" />
            </td>
            <td width="25%" height="35" class="J-d-refund-1month"><div class="title-0">
                    首期还款额：</div><input type="text" value="<?php echo empty($this->order['car']['ot_calculated']['d_refund_1month']) ? $this->order['car']['ot_calculated']['d_refund_month'] : $this->order['car']['ot_calculated']['d_refund_1month'];?>元" readonly class="input-06">
                <input type="hidden" class="J-d-refund-1month-value" name="ot_calculated[d_refund_1month]" value="<?php echo empty($this->order['car']['ot_calculated']['d_refund_1month']) ? $this->order['car']['ot_calculated']['d_refund_month'] : $this->order['car']['ot_calculated']['d_refund_1month'];?>" />
            </td>
            <td width="25%" height="35" class="J-d-refund-month"><div class="title-0">
                    月还款额：</div><input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_refund_month'];?>元" readonly class="input-07">

                <input type="hidden" class="J-d-refund-month-value" name="ot_calculated[d_refund_month]" value="<?php echo $this->order['car']['ot_calculated']['d_refund_month'];?>" />
            </td>

        </tr>



        <tr>
            <td colspan="5" valign="top">
                备注：
                <?php echo $this->order['car']['ot_loan_remark'];?>
            </td>
            <td>

            </td>
        </tr>

        </table>
        </fieldset>
    </div>

    <div class="order-item-box" style="margin-top:30px; border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>车辆信息补录内容</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="25%" height="35"><div class="title-0">
                            车辆类别：</div><input type="text" value="<?php echo $this->order['car']['ot_cartp'];?>"readonly class="input-03">
                    </td>
                    <td width="50%" colspan="2" height="35"><div class="title-0">
                            具体车型：</div><input type="text" value="<?php echo $this->order['car']['ot_carmodels'];?>" readonly class="input-08">
                    </td>
                    <td width="25%"><div class="title-0">
                            发票开具单位：</div><input type="text" value="<?php echo $this->order['car']['ot_invoice_com'];?>" readonly class="input-03">
                    </td>

                </tr>
                <tr>
                    <td width="25%"><div class="title-0">
                            车辆颜色：</div><input type="text" value="<?php echo $this->order['car']['ot_carcolor'];?>" readonly class="input-03">
                    </td>
                    <td width="50%" colspan="2"><div class="title-0">
                            车架号：</div><input type="text" value="<?php echo $this->order['car']['ot_carno'];?>" readonly class="input-08">
                    </td>
                    <td width="25%"><div class="title-0">
                            发票号：</div><input type="text" value="<?php echo $this->order['car']['ot_invoice_no'];?>" readonly class="input-03">
                    </td>
                </tr>
                <tr>
                    <td width="25%" height="35"><div class="title-0">
                            底盘号后六位：</div><input type="text" value="<?php echo $this->order['car']['ot_chassisno'];?>" readonly class="input-02">
                    </td>
                    <td width="50%" colspan="2"><div class="title-0">
                            发动机号：</div><input type="text" value="<?php echo $this->order['car']['ot_engineno'];?>" readonly class="input-08">
                    </td>

                    <td width="25%"><div class="title-0">
                            初始登记时间：</div><input type="text" value="<?php echo $this->order['car']['ot_initialrg_time'];?>" readonly class="input-03">
                    </td>
                </tr>
                <tr>
                    <td width="25%" height="35"><div class="title-0">
                            主贷人的新车牌号：</div><input type="text" value="<?php echo $this->order['car']['ot_car_platenum'];?>" readonly class="input-02">
                    </td>
                    <td width="50%" colspan="2"></td>
                    <td width="25%"><div class="title-0">
                            开票日期：</div><input type="text" value="<?php  if($this->order['car']['ot_billing_date'] !='0000-00-00') echo $this->order['car']['ot_billing_date'];?>" readonly class="input-03">
                    </td>
                </tr>

            </table>
        </fieldset>
    </div>
  <?php if($this->order['car']['ot_car_pose'] =='二手车'){?>
    <div class="order-item-box" style="margin-top:30px; border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>二手车评估信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="25%" height="35"><div class="title-0">
                            评估人：</div><input type="text" value="<?php echo $this->order['car']['ot_mpac'];?>" readonly class="input-03">
                    </td>
                    <td width="25%"><div class="title-0">
                            评估资料上传时间：</div><input type="text" value="<?php echo $this->order['car']['ot_forecat_time'];?>" readonly class="input-03">
                    </td>
                    <td width="25%" height="35"><div class="title-0">
                            评估价：</div><input type="text" value="<?php echo $this->order['car']['ot_assessment'];?>" readonly class="input-03">
                    </td>
                    <td width="25%"><div class="title-0">
                            评估日期：</div><input type="text" value="<?php echo $this->order['car']['ot_assess_time'];?>" readonly class="input-03">
                    </td>
                </tr>
                <tr>
                    <td><div class="title-0">
                            出报告金额：</div><input type="text" value="<?php if($this->order['base']['o_bank'] == '中国工商银行股份有限公司哈尔滨东直支行' && isset($this->order['car']['ot_calculated']['d_transaction_amount'])){ echo $this->order['car']['ot_calculated']['d_transaction_amount'];}else{ echo $this->order['car']['ot_assessment'];}?>" readonly class="input-03">
                        </td>
                    <td></td>
                    <td></td>
                    <td>
                        <?php if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','downreport'))){?>
                        <input type="button" id="J-car-down" class="a-btn-close mr15 J-car-down" value="下载评估信息" />
                        <input type="button" id="J-excel-down" class="a-btn-close mr15 J-excel-down" value="下载评估报告" />
                    <?php }?>
                        <input type="hidden" name="oid" value="<?php echo $this->order['base']['o_id'];?>" />
                    </td>
                </tr>

            </table>
        </fieldset>
    </div>
    <?php } ?>
    <div class="order-item-box" style="margin-top:30px; border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>GPS信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="25%" height="35"><div class="title-0">
                            GPS安装时间：</div><input type="text" value="<?php echo $this->order['car']['ot_gps_install'];?>" readonly class="input-03">
                    </td>
                    <td width="25%"><div class="title-0">
                            GPS序列号：</div><input type="text" value="<?php echo $this->order['car']['ot_gps_no'];?>" readonly class="input-02">
                    </td>
                    <td width="25%"><div class="title-0">
                            GPS状态：</div><input type="text" value="<?php echo $this->order['car']['ot_gps_status'];?>" readonly class="input-02">
                    </td>
                    <td width="25%" height="35"><div class="title-0">
                            GPS上线时间：</div><input type="text" value="<?php echo $this->order['car']['ot_gps_otime'];?>" readonly class="input-05">
                    </td>
                </tr>
                <tr>
                    <td valign="top" colspan="4" height="35">GPS备注：<?php echo $this->order['car']['ot_gps_remark'];?>
                    </td>
                </tr>
                <?php
                    if(!empty($this->order['car']['ot_gps_no'])) {
                        $gps_no_length = strlen($this->order['car']['ot_gps_no']);
                        $gps_no_start = substr($this->order['car']['ot_gps_no'],0,3);
                        $gps_company = '未知平台';
                        if($gps_no_length==11 && ($gps_no_start=='391' || $gps_no_start=='802')) $gps_company = '<a href="http://www.cdguanjia.com/login.html" target="_blank">车贷管家</a>';
                        if($gps_no_length==15 && $gps_no_start=='868') $gps_company = '<a href="http://www.tuqiangol.com" target="_blank">途强在线</a>';
                        if(($gps_no_length==15 && $gps_no_start=='180')) $gps_company = '<a href="http://www.hdvps.cn" target="_blank">昊德科技</a>';
                        if($gps_no_start=='353') $gps_company = '<a href="http://www.jlmgps.com/Skins/JlmGps/?locale=cn&back=true">金立铭</a>';
                        if($gps_no_start=='863' || $gps_no_start == '141') $gps_company = '<a href="http://fk.gpsonline.cn" target="_blank">北斗在线</a>';
                        if($gps_no_start=='145') $gps_company = '<a href="http://www.exlive.cn/home/kaifangpt/main.jsp?type=4" target="_blank">茗鸿</a>';
                ?>
                <tr>
                    <td colspan="4">
                        设备平台：<?php echo $gps_company?>
                    </td>
                </tr>
                <?php } ?>
            </table>
        </fieldset>
    </div>

    <a name="audit"></a>
    <div class="order-item-box" style="margin-top:30px; border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>审核日志<?php if($this->order['base']['o_needgps'] ==1) echo '<a style="color:red;">（需安装GPS）</a>';?></h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0" id="dis_audit">
                <?php $lastdis = 0;
                if(!empty($this->order['audit'])) foreach($this->order['audit'] as $k => $v){
                    if($v['type'] != '征信结果'){
                            ?>
                            <tr id="<?php echo $v['data']['a_dateline']?>">
                                <td style="height:25px;<?php if($v['data']['a_dateline'] >$this->order['base']['o_first_time']) echo "background:#DBDBDB;";?>">
                                    <?php echo date('Y-m-d H:i:s',$v['data']['a_dateline']);?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <span style="font-weight:bold;"><?php echo $v['data']['a_uname'];?></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <?php echo $v['data']['a_type'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <span style="font-weight:bold;<?php if($v['data']['a_results'] != '通过') echo "color:red";?>"><?php echo $v['data']['a_results'];?></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <a title="<?php echo $v['data']['a_results']=='通过'?$v['data']['a_details']:$v['data']['a_results']; echo '---';echo $v['data']['a_remarks'];?>" onclick="Ext.Msg.alert('审核说明', this.title); ">查看详情</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <?php if($v['data']['a_results'] == '退回') {?>
                                        <a onclick="display_audit(<?php echo $lastdis?>, <?php echo $v['data']['a_dateline']?>, true);">展开退回前审核日志</a>
                                        <script type="application/javascript">$(function() {display_audit(<?php echo $lastdis?>, <?php echo $v['data']['a_dateline']?>);});</script>
                                    <?php
                                        $lastdis=$v['data']['a_dateline'];
                                    }?>
                                </td>
                            </tr>
                               <?php
                            }
                        }
                             ?>


            </table>
        </fieldset>
    </div>
<script type="application/javascript">
function display_audit(leftdis, rightdis, isalert){
    var flag = 0;
    $("#dis_audit tr").each(
        function(){
            if($(this).attr("id")>leftdis && $(this).attr("id")<rightdis) {
                $(this).toggle();
                flag++;
            }
        }
    );
    if(flag==0 && isalert) alert('之前无审核记录！');
}
</script>
    <a name="attach"></a>
    <div class="order-item-box" style="margin-top:30px; border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>附件资料</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <?php if(!empty($this->order['attachment']['oa_cert'])){ ?>
                    <tr>
                        <td>
                            <h3>证件照</h3>
                            <ul class="attach-box" id="J-oa-cert">
                                <?php foreach($this->order['attachment']['oa_cert'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_cert_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_cert_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>

                <?php if(!empty($this->order['attachment']['oa_assets'])){ ?>
                    <tr>
                        <td>
                            <h3>资产类照片</h3>
                            <ul class="attach-box" id="J-oa-assets">
                                <?php foreach($this->order['attachment']['oa_assets'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_assets_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_assets_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>

                <?php if(!empty($this->order['attachment']['oa_family'])){ ?>
                    <tr>
                        <td>
                            <h3>家访照</h3>
                            <ul class="attach-box" id="J-oa-family">
                                <?php foreach($this->order['attachment']['oa_family'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_family_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_family_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>


                <?php if(!empty($this->order['attachment']['oa_sign'])) {?>
                    <tr>
                        <td>
                            <h3>签字照</h3>
                            <ul class="attach-box" id="J-oa-sign">
                                <?php  foreach($this->order['attachment']['oa_sign'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_sign_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_sign_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>


                <?php if(!empty($this->order['attachment']['oa_video'])) {?>
                    <tr>
                        <td>
                            <h3>视频类</h3>
                            <ul class="attach-box J-daish-video">
                                <?php  foreach($this->order['attachment']['oa_video'] as $k=>$v){?>
                                    <li>
                                        <img class="J-video-obj" data-url="<?php echo $this->order['attachment']['oa_video_url'][$k];?>" src="<?php echo BASE_STYLE;?>/images/member/default_sildeshow.gif" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>

                <?php if(!empty($this->order['attachment']['oa_flowing'])){ ?>
                    <tr>
                        <td>
                            <h3>流水类</h3>
                            <ul class="attach-box" id="J-oa-flowing">
                                <?php foreach($this->order['attachment']['oa_flowing'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_flowing_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_flowing_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>

                <?php if(!empty($this->order['attachment']['oa_contract'])){?>
                    <tr>
                        <td>
                            <h3>合同照</h3>
                            <ul class="attach-box" id="J-oa-contract">
                                <?php foreach($this->order['attachment']['oa_contract'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_contract_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_contract_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>

                <?php if(!empty($this->order['attachment']['oa_other'])){?>
                    <tr>
                        <td>
                            <h3>其他资料</h3>
                            <ul class="attach-box" id="J-oa-other">
                                <?php foreach($this->order['attachment']['oa_other'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_other_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_other_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>
                    <?php if(!empty($this->order['et_attach']['car']) || !empty($this->order['et_attach']['plate']) || !empty($this->order['et_attach']['comp'])){ ?>
                    <tr>
                        <td>
                            <h3>评估类照片</h3>
                            <ul class="attach-box" id="J-et-attach">
                                <?php foreach($this->order['et_attach']['car'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['et_attach']['car_url'][$k];?>"  class="example-image" src="<?php echo $this->order['et_attach']['car_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                                <?php foreach($this->order['et_attach']['plate'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['et_attach']['plate_url'][$k];?>"  class="example-image" src="<?php echo $this->order['et_attach']['plate_thurl'][$k];?>" width="80" height="80" /></a>
                                    </li>
                                <?php } ?>
                                <?php foreach($this->order['et_attach']['comp'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['et_attach']['comp_url'][$k];?>"  class="example-image" src="<?php echo $this->order['et_attach']['comp_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>
                <?php if(!empty($this->order['car']['attachment']['car_image'])){ ?>
                    <tr>
                        <td>
                            <h3>登记证书</h3>
                            <ul class="attach-box" id="J-car-img">
                                <?php foreach($this->order['car']['attachment']['car_image'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['car']['attachment']['car_image_url'][$k];?>" class="example-image" src="<?php echo $this->order['car']['attachment']['car_image_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>

                <?php if(!empty($this->order['car']['carfare_img']['carfare_image'])){ ?>
                    <tr>
                        <td>
                            <h3>车资</h3>
                            <ul class="attach-box" id="J-carfare-img">
                                <?php foreach($this->order['car']['carfare_img']['carfare_image'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['car']['carfare_img']['carfare_image_url'][$k];?>" class="example-image" src="<?php echo $this->order['car']['carfare_img']['carfare_image_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>
                    <?php if(!empty($this->order['car']['getcar_img']['getcar_image'])){ ?>
                    <tr>
                        <td>
                            <h3>提车影像</h3>
                            <ul class="attach-box" id="J-getcar-img">
                                <?php foreach($this->order['car']['getcar_img']['getcar_image'] as $k=>$v){?>
                                    <li>
                                         <img data-original="<?php echo $this->order['car']['getcar_img']['getcar_image_url'][$k];?>" class="example-image" src="<?php echo $this->order['car']['getcar_img']['getcar_image_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>
                    <?php if(!empty($this->order['attachment']['oa_singlecard'])){ ?>
                    <tr>
                        <td>
                            <h3>卡单照片</h3>
                            <ul class="attach-box" id="J-oa-singlecard">
                                <?php foreach($this->order['attachment']['oa_singlecard'] as $k=>$v){?>
                                    <li>
                                        <img data-original="<?php echo $this->order['attachment']['oa_singlecard_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_singlecard_thurl'][$k];?>" width="80" height="80" />
                                    </li>
                                <?php } ?>
                            </ul>
                        </td>
                    </tr>
                <?php } ?>
            </table>
        </fieldset>
    </div>

    </div>
    <script type="text/javascript">
        var viewerBuyer = new Viewer(document.getElementById('buyer-ct-att'),{
            url:"data-original",
            show:function(){
                viewerBuyer.update();   
            }
        });
        if(document.getElementById('spouse-ct-atta')){
            var viewerSpouse = new Viewer(document.getElementById('spouse-ct-atta'),{
                url:"data-original",
                show:function(){
                    viewerSpouse.update();      
                }
            });
        }
        var g_length = document.getElementsByName('guarantor-attach').length;
        for(var x = 0;x<g_length;x++){
            if(document.getElementById('ct-attach-url'+x)){
                var viewerCt = new Viewer(document.getElementById('ct-attach-url'+x), {
                    url:"data-original",
                    show:function(){
                        viewerCt.update();      
                    }
                });
            }
        }
        if(document.getElementById('J-oa-cert')){
            var viewerCert = new Viewer(document.getElementById('J-oa-cert'), {
                url:"data-original",
                show:function(){
                    viewerCert.update();    
                }
            });
        }
        if(document.getElementById('J-oa-assets')){
            var viewerAssets = new Viewer(document.getElementById('J-oa-assets'), {
                url:"data-original",
                show:function(){
                    viewerAssets.update();      
                }
            });
        }
        if(document.getElementById('J-oa-other')){
            var viewerOther = new Viewer(document.getElementById('J-oa-other'), {
                url:"data-original",
                show:function(){
                    viewerOther.update();      
                }
            });
        }
        if(document.getElementById('J-oa-family')){
            var viewerFamily = new Viewer(document.getElementById('J-oa-family'), {
                url:"data-original",
                show:function(){
                    viewerFamily.update();      
                }
            });
        }

        if(document.getElementById('J-oa-sign')){
            var viewerSign = new Viewer(document.getElementById('J-oa-sign'), {
                url:"data-original",
                show:function(){
                    viewerSign.update();    
                }
            });
        }

        if(document.getElementById('J-et-attach')){
            var viewerAttach = new Viewer(document.getElementById('J-et-attach'), {
                url:"data-original",
                show:function(){
                    viewerAttach.update();      
                }
            });
        }

        if(document.getElementById('J-oa-flowing')){
            var viewerFlowing = new Viewer(document.getElementById('J-oa-flowing'), {
                url:"data-original",
                show:function(){
                    viewerFlowing.update();     
                }
            });
        }
        if(document.getElementById('J-oa-contract')){
            var viewerContract = new Viewer(document.getElementById('J-oa-contract'), {
                url:"data-original",
                show:function(){
                    viewerContract.update();    
                }
            });
        }

        if(document.getElementById('J-oa-singlecard')){
            var viewerSinglecard = new Viewer(document.getElementById('J-oa-singlecard'), {
                url:"data-original",
                show:function(){
                    viewerSinglecard.update();    
                }
            });
        }

        if(document.getElementById('J-getcar-img')){
            var viewerGcar = new Viewer(document.getElementById('J-getcar-img') , {
                url:"data-original",
                show:function(){
                    viewerGcar.update();    
                }
            });
        }

        if(document.getElementById('J-carfare-img')){
            var viewerCarfare = new Viewer(document.getElementById('J-carfare-img'), {
                url:"data-original",
                show:function(){
                    viewerCarfare.update();    
                }
            });
        }
        if(document.getElementById('J-car-img')){
            var viewerCar = new Viewer(document.getElementById('J-car-img'), {
                url:"data-original",
                show:function(){
                    viewerCar.update();    
                }
            });
        }
    </script>
    <style type="text/css">
        .attach-box {width:100%; height:auto; overflow:hidden;}
        .attach-box li {float:left; margin-right:10px; margin-bottom:10px; width:80px; height:80px; overflow:hidden;}

        .mianqianxinxi-box {
            height:auto;
            overflow:hidden;
            margin-top:15px;
        }

        .mianqianxinxi-box dt {
            margin-bottom:10px;
        }
        .mianqianxinxi-box dd {
            float:left;
        }

        .mianqianxinxi-pic-list {
            margin-right:10px;
        }

        .mianqianxinxi-pic-list img {
            margin-right:10px;
        }


    </style>
    <script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/dyhl_ext.js"></script>
    <script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/supplement_info.js"></script>
<?php include $this->Render('footer.php'); die();?>